package edu.johnpank.libassistant.controllers

import org.springframework.stereotype.Controller
import org.springframework.ui.Model
import org.springframework.web.bind.annotation.GetMapping
import javax.servlet.http.HttpServletRequest


@Controller
class ErrorController {
    @GetMapping("/errors")
    fun showErrorPage(request: HttpServletRequest): String {

        println(request.toString())

        return "error"
    }
}
